package com.lixiaohan.lushudaohou.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Timestamp;

@Data
@AllArgsConstructor//只加有参构造
@NoArgsConstructor//补上无参构造
@Entity
public class SriGoodInfo {
    @Id
    private Integer sriGoodId;//景点发布信息点赞表id
    private Integer userId;//用户id
    private Timestamp createTime;//点赞时间
    private Integer scenicReleaseId;//景点发布信息id
    private Integer status;//状态（0表示未点赞，1表示点赞过）
}
